package com.ljp.swagger.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: LJP
 * @Classname UserEntity
 * @Date: 2020-02-26 07:50
 * @Description:
 */
@ApiModel("修饰在实体类上的注解：用户实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserEntity {
    @ApiModelProperty("修饰在实体类参数上的注解：用户名称")
    private String userName;
    @ApiModelProperty("修饰在实体类参数上的注解：用户密码")
    private String passWord;
}

